<!--导航到版面的路由-->
<script lang="ts" setup>

import {PriMsgRoute} from "../../router";
import {ref} from "vue";

interface Props {
  mid: number;
}

const props = defineProps<Props>();
const routeName = ref(PriMsgRoute.READ)

</script>

<template>
  <router-link :to="{name:routeName ,params:{mid:props.mid}}" class="clickable clean-a">
    <slot/>
  </router-link>
</template>

<style scoped>

</style>